var t, r, n = require("../../@babel/runtime/helpers/typeof");

module.exports = (t = {}, r = function(r, e) {
    if (!t[r]) return require(e);
    if (!t[r].status) {
        var s = t[r].m;
        s._exports = s._tempexports;
        var a = Object.getOwnPropertyDescriptor(s, "exports");
        a && a.configurable && Object.defineProperty(s, "exports", {
            set: function(t) {
                "object" === n(t) && t !== s._exports && (s._exports.__proto__ = t.__proto__, Object.keys(t).forEach(function(r) {
                    s._exports[r] = t[r];
                })), s._tempexports = t;
            },
            get: function() {
                return s._tempexports;
            }
        }), t[r].status = 1, t[r].func(t[r].req, s, s.exports);
    }
    return t[r].m.exports;
}, function(r, n, e) {
    t[r] = {
        status: 0,
        func: n,
        req: e,
        m: {
            exports: {},
            _tempexports: {}
        }
    };
}(1685578528990, function(t, r, e) {
    var s, a;
    s = this, a = function() {
        var t = 52.35987755982988, r = 3.141592653589793, n = 6378245, e = .006693421622965943, s = function(t, n) {
            var e = 2 * (t = +t) - 100 + 3 * (n = +n) + .2 * n * n + .1 * t * n + .2 * Math.sqrt(Math.abs(t));
            return e += 2 * (20 * Math.sin(6 * t * r) + 20 * Math.sin(2 * t * r)) / 3, e += 2 * (20 * Math.sin(n * r) + 40 * Math.sin(n / 3 * r)) / 3, 
            e += 2 * (160 * Math.sin(n / 12 * r) + 320 * Math.sin(n * r / 30)) / 3;
        }, a = function(t, n) {
            var e = 300 + (t = +t) + 2 * (n = +n) + .1 * t * t + .1 * t * n + .1 * Math.sqrt(Math.abs(t));
            return e += 2 * (20 * Math.sin(6 * t * r) + 20 * Math.sin(2 * t * r)) / 3, e += 2 * (20 * Math.sin(t * r) + 40 * Math.sin(t / 3 * r)) / 3, 
            e += 2 * (150 * Math.sin(t / 12 * r) + 300 * Math.sin(t / 30 * r)) / 3;
        }, o = function(t, r) {
            return r = +r, !((t = +t) > 73.66 && t < 135.05 && r > 3.86 && r < 53.55);
        };
        return {
            bd09togcj02: function(r, n) {
                var e = (r = +r) - .0065, s = (n = +n) - .006, a = Math.sqrt(e * e + s * s) - 2e-5 * Math.sin(s * t), o = Math.atan2(s, e) - 3e-6 * Math.cos(e * t);
                return [ a * Math.cos(o), a * Math.sin(o) ];
            },
            gcj02tobd09: function(r, n) {
                n = +n, r = +r;
                var e = Math.sqrt(r * r + n * n) + 2e-5 * Math.sin(n * t), s = Math.atan2(n, r) + 3e-6 * Math.cos(r * t);
                return [ e * Math.cos(s) + .0065, e * Math.sin(s) + .006 ];
            },
            wgs84togcj02: function(t, i) {
                if (o(t = +t, i = +i)) return [ t, i ];
                var u = s(t - 105, i - 35), c = a(t - 105, i - 35), h = i / 180 * r, M = Math.sin(h);
                M = 1 - e * M * M;
                var f = Math.sqrt(M);
                return u = 180 * u / (n * (1 - e) / (M * f) * r), [ t + (c = 180 * c / (n / f * Math.cos(h) * r)), i + u ];
            },
            gcj02towgs84: function(t, i) {
                if (o(t = +t, i = +i)) return [ t, i ];
                var u = s(t - 105, i - 35), c = a(t - 105, i - 35), h = i / 180 * r, M = Math.sin(h);
                M = 1 - e * M * M;
                var f = Math.sqrt(M);
                return u = 180 * u / (n * (1 - e) / (M * f) * r), [ 2 * t - (t + (c = 180 * c / (n / f * Math.cos(h) * r))), 2 * i - (i + u) ];
            }
        };
    }, "function" == typeof define && define.amd ? define([], a) : "object" === n(r) && r.exports ? r.exports = a() : s.coordtransform = a();
}, function(t) {
    return r({}[t], t);
}), r(1685578528990));